﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace lab3
{
    /// <summary>
    /// This program creates a Gradebook and outputs the Report to the Console.
    /// </summary>
    /// <author>sdavis31 2/8/2008</author>
    class Program
    {
        static void Main(string[] args)
        {
            // create Gradebook and Report to print out
            Gradebook myGradebook;
            string myReport;

            // instantiate the Gradebook object
            myGradebook = new Gradebook();

            // call to read XML
            myGradebook.ReadXML();

            // call to show Report to create Report string
            myReport = myGradebook.ShowReport();
            
            // output results to console
            Console.WriteLine(myReport);
            Console.ReadLine();
        }
    }
}
